package com.hykj.coca.model;

import java.util.Date;

public class AdminModel extends  BaseModel {

    private  Integer id;
    private  String userName;
    private  String password;
    private  String realname;
    private  Integer status;
    private Date create_time;
    private  Integer role;

    public AdminModel() {

    }

    public AdminModel(String userName, String password, String realname, Integer status, Integer role) {
        this.userName = userName;
        this.password = password;
        this.realname = realname;
        this.status = status;
        this.role = role;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    @Override
    public String toString() {
        return "AdminModel{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", realname='" + realname + '\'' +
                ", status=" + status +
                ", create_time=" + create_time +
                ", role=" + role +
                '}';
    }
}
